<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
// load base class if needed
require_once( APPPATH . 'controllers/base/adminbase.php' );
// --

class welcomeadmin extends adminbase {

    // constructor
    public function  __construct() {
        parent::__construct();
    }

    // welcome member
    public function index() {
        //--url
        $this->smarty->assign("strUrlAdmin", site_url("admin/admin"));
        $this->smarty->assign("strUrlDokter", site_url("dokter/dokter"));
        $this->smarty->assign("strUrlPegawai", site_url("pegawai/pegawai"));
        $this->smarty->assign("strUrlPasien", site_url("pasien/pasien"));
        $this->smarty->assign("strUrlJenisObat", site_url("jenisobat/jenisobat"));
        $this->smarty->assign("strUrlObat", site_url("obat/obat"));
        $this->smarty->assign("strUrlPoliklinik", site_url("poli/poli"));
        // set template content
        $this->smarty->assign("strTemplateContent", "home/admin.welcome.html");
        // bisnis proses

        // output
        parent::display();
    }
}